<!DOCTYPE html >
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
	<head>
		<title>首页</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <script type="text/javascript" src="../../resources/lib/bui/js/jquery-1.8.1.min.js"
                th:src="@{/resources/lib/bui/js/jquery-1.8.1.min.js}"></script>
        <style type="text/css">
            body,html{
                height:100%;
                margin:0 auto;
            }
        </style>
	</head>
	<body>

    <script th:inline="javascript" type="text/javascript">
    var pic1 = /*[[${pic1}]]*/ '/';

    $("body").css("background-image","url("+pic1+")");
    $("body").css("background-repeat","no-repeat");
    $("body").css("background-size", "100% 100%");

//    document.body.style.backgroundImage='url('+pic1+')';
//    document.body.style.backgroundRepeat = 'no-repeat';
//    document.body.style.backgroundSize = '100% 100%';
    </script>
  </body>
</html>